package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.rule.LimitRuleRespDto;
import com.cmc.cloud.cmclink.doc.entity.LimitRuleDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author lzp
 */
@Mapper
public interface LimitRuleConvert {
    LimitRuleConvert INSTANCE = Mappers.getMapper(LimitRuleConvert.class);

    /**
     * 属性转换
     *
     * @param limitRuleDO
     * @return
     */
    LimitRuleRespDto convertLimitRuleRespDto(LimitRuleDO limitRuleDO);
}
